obj
	module
		var
			space //how many MU's the module takes up
			cost //cost in Creds
			/mob/parent //the module's owner.
		New(container)
			..()
			container:space -= src.space
		construct //construct-only modules
/*
			radar //enables a construct to give the player a minimap - only one is req'd to give map, but more allowed for strategic backup radar
				space = 8
				cost = 275
*/
			power //generates 10 KWh / sec
				space = 5
				cost = 250
			batt //allows storage of up to 200 KWh
				space = 2
				cost = 300
		makeunit //allows construction of unit/construct
			construct //only land/nautical vehicle, kills using unit
				space = 10
				cost = 2500
			vehicle //only constructs
				space = 6
				cost = 250
			watervehicle //only constructs next to or in water
				space = 6
				cost = 275
			airvehicle //only constructs / nautical vehicles.  req: Airstrip.
				space = 6
				cost = 275
			human //only constructs / land vehicles
				space = 6
				cost = 250
			wall //only land vehicles
				space = 2
				cost = 100
		attribute
			space = 1
			cost = 100
			att //up att by 5
			def //up def by 5
			hp //up hp by 100
		ability
			airstrip //req for aerial makeunit / aerial vehicle carrier.  only construct / nautical vehicle.
				space = 2
				cost = 1000
			jetpack //allows passage of otherwise impassable terrain
				human //only humans
					space = 2
					cost = 750
				vehicle //only land vehicles
					space = 6
					cost = 750
			ore //ore interaction modules
				containment //storage for 3 un ore.  constructs / land/nautical vehicles only.
					space = 1
					cost = 100
				harvest //harvesting.  construct / land/nautical vehicle only.
					space = 3
					cost = 150
				transfer //allows movement of ore from src to another unit/construct with ore storage.  not req'd to transfer ore between modules in same unit.  construct-construct transfer invalid.  construct / land/nautical vehicle only.
					space = 4
					cost = 450
				refine //change 2 un regular ore -> 1 un pure.  only constructs / land/nautical vehicles.
					space = 4
					cost = 10000
				export //allows selling.  only constructs.
					space = 5
					cost = 150
			cashsilo //stores 1000c, constructs / land vehicles only
				space = 1
				cost = 250
			carrier //allows storage of units.  Vehicles holding units cannot be stored themselves.
				human //2 units ea, max of 3.
					space = 2
					cost = 350
				land //1 unit, only nautical/aerial vehicles, max 1
					space = 2
					cost = 500
				aerial //1 unit ea, constructs / nautical vehicles only, req: Airstrip, no max
					space = 2
					cost = 300